package com.jfireframework.commonloggersolution;

public class Snapshot<V>
{
    long    lsn;
    V       data;
    boolean legal = false;

    public long getLsn()
    {
        return lsn;
    }

    public void setLsn(long lsn)
    {
        this.lsn = lsn;
    }

    public V getData()
    {
        return data;
    }

    public void setData(V data)
    {
        this.data = data;
    }

    public boolean isLegal()
    {
        return legal;
    }

    public void setLegal(boolean legal)
    {
        this.legal = legal;
    }
}
